<template>
        <van-nav-bar :title="title">
        <template #left v-if="isLeft>1">
            昵称:{{$store.state.wish_users.nickname}}
        </template>
    </van-nav-bar>
</template>

<script>
export default {
    props:{
        title:{
            type:String,
            default:"许愿墙",
        },
        isLeft:{
            type:String,
            default:1,
        }
    }
}
</script>

<style lang="scss" scoped>
   .van-nav-bar {
    background: #008800;
   /deep/ .van-nav-bar__title, /deep/.van-nav-bar__left{
      color: #fff;
    }
  }
</style>